home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 6531 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.3 KB

  1. Path: news.ultranet.com!usenet
  2. From: "Albert P. Belle Isle" <belleisl@cerberus-sys.com>
  3. Newsgroups: comp.dcom.modems,alt.winsock.trumpet
  4. Subject: Re: Shouldn't TCPMSS=(MTU-40).  ??
  5. Date: Thu, 29 Feb 1996 10:18:24 -0500
  6. Organization: Cerberus Systems, Inc.
  7. Message-ID: <3135C3C0.2E2@cerberus-sys.com>
  8. References: <4h2kiv$pn5@news2.cais.com> <4h3cvi$sn6@news2.cais.com>
  9. NNTP-Posting-Host: apb-p5-90.cerberus-sys.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win16; I)
  14.  
  15. jk93 wrote:
  16. > I'd like to add a "p.s." to this message (an hour later):
  17. > I know there are many different settings that "will work".   I'm mainly
  18. > wondering if the ISP is just being "sloppy" in giving these settings, or do
  19. > they know something that i don't know (such as the difference of 40 not
  20. > being important)?
  21. > In article <4h2kiv$pn5@news2.cais.com>, jk93@mail.erols.com says...
  22. > >
  23. > >My ISP (who has about 20 tech support reps who know very little) tells
  24. > everyone they should
  25. > >use the following trumpet settings:
  26. > >
  27. > >MTU 576
  28. > >RWIN 2048
  29. > >TCPMSS 512
  30. > >
  31. > >None of the support reps there knew why the tcpmss is not 40 less than the
  32. > MTU,
  33. > >in their recommended setup.  But everything i've read elsewhere says it
  34. > should
  35. > >be 40 less (I assume it meant exactly 40 less).
  36. > >Anyone have any idea if those setting are valid?
  37. > >
  38.  
  39. jk93:
  40.  
  41. If you use an MTU the same size as the routers on your access provider's
  42. Local Area Network, you can set your MSS for TCP transfers (like file or web 
  43. page down-loads) that come from outside his LAN over the Internet to 
  44. anything that will fit in his maximum IP routing packet - i.e. MSS 
  45. *no_larger* than his MTU minus 40 bytes, to leave room for TCP and IP 
  46. headers.
  47.  
  48. The 40-byte number is the typical header overhead for a single packet. Van 
  49. Jacobson header compression takes advantage of the fact that only some of 
  50. the header info changes from packet-to-packet in a stream of TCP transfers 
  51. to the same recipient (like a file or web-page download). By only sending 
  52. the changes, it reduces the average effective header overhead on such a 
  53. stream from 40 bytes/packet to less than 10. (It's still 40 for single 
  54. control packets.)
  55.  
  56. The objective is to amortize those header bytes of overhead over as much TCP
  57. data as possible, without getting router fragmentation of your packets. The 
  58. larger MSS is, the smaller the percentage the header bytes represent. 
  59. However, MSS+40 must fit within the MTU of EVERY router on the IP path 
  60. between the download server and you - not just your ISP's - or they'll be 
  61. fragmented to fit. MSS=536 is 40 bytes less than the Internet default MTU of 
  62. 576, which all IP routers are supposed to accommodate.
  63.  
  64. This *safe* setting will cause most remote servers to respond with either 
  65. 536- or 512-byte TCP data segments (either of which falls within your 
  66. announced *maximum* segment size of 536 bytes). If you specify a maximum of 
  67. 512, they will always respond with 512, for a slight performance loss. 
  68. Obviously, both sizes will fit in a 576-byte IP transmission unit.
  69.  
  70. Hope this helps.
  71.  
  72. Regards,
  73.  
  74. Al
  75.  
  76.  
  77. -- 
  78. ==================================================================
  79. Albert P. Belle Isle
  80. Cerberus Systems, Inc.
  81.  
  82. Al's Winsock Tuning FAQ -
  83.        http://www.cerberus-sys.com/~belleisl/mtu_mss_rwin.html
  84. ==================================================================
  85.